You can choose a new password below.

<?php

require_once 'util.php';
require_once 'actions/reset_password.cls.php';
require_once 'ActionFramework/formcomponents/password.php';

$action = new ResetPasswordAction();
$form = $action->get_form_link();

echo $form->start();

	echo '<div class="form-layout">';
	
		echo $form->generate(new HiddenField(ResetPasswordAction::INPUT_SECRET, $view->secret));
		
		$password = $form->generate(new UnchallengedPasswordComponent(ResetPasswordAction::INPUT_PASSWORD));
		echo $password->label('New password');
		$confirm = $form->generate(new ConfirmPasswordField($password));
		echo $confirm->label('Confirm new password');
		
		echo "<div style='clear:both'></div>";
		
	echo '</div>';
		
	echo $form->generate_submit('Change');
	
echo $form->end();

?>